<?php
/*
 * 首页
 */

namespace app\adminbackstage\controller;

use think\facade\Request;
use app\adminbackstage\model\Activity;
use app\adminbackstage\model\OrderComplain;
use app\adminbackstage\model\User;

class IndexController {

    //put your code here
    public function index(){
//        $a_uid = Request::param('a_uid');
//        if(!empty($a_uid)){
//            $User = new User();
//            $where_user[] = ['uid','=',$a_uid];
//            $findUser = $User->findUser($where_user);
//            if(!empty($findUser))
//            {
//                $findUser = $findUser->toArray();
//                if($findUser['enable']==0){
//                    
//                }
//            }
//        }
        
//        $activity = new Activity();
//        $where[] = ['state','=',2];
//        $countActivity = $activity->countActivity($where);
//        $OrderComplain = new OrderComplain();
//        $where_o[] = ['oc.state','=','2'];
//        $orderComplainCount = $OrderComplain->orderComplainCount($where_o);
//        $listinfo['countActivity'] = $countActivity;
//        $listinfo['orderComplainCount'] = $orderComplainCount;
        return json(['code' => 1, 'msg' => lang(''), 'data' => '', 'count' => '']);
        
    }
    

}
